﻿//------------------------------------------------------------------------------
// <pcdd-entitiy>
//     代理实体类库
//     月统计实体对象
// </pcdd-entitiy>
//------------------------------------------------------------------------------

using System;
using Dapper;

namespace CL.Business.Entity
{
    /// <summary>
    /// UN_SettleMonth 实体
    /// </summary>
    [Table("UN_SettleMonth")]
    public class SettleMonthEntity
    {
        [Key]
        public int SettleMonthID { set; get; }
        /// <summary>
        /// 代理账号标识
        /// </summary>
        public int AccountID { set; get; }

        /// <summary>
        /// 月销售总额
        /// </summary>
        public long BuyMount { get; set; }

        /// <summary>
        /// 月份 2017-06
        /// </summary>
        public string Month { set; get; }
       
        /// 结算日期
        /// </summary>
        public DateTime SettleTime { set; get; }

        /// <summary>
        /// 结算点位
        /// </summary>
        public long RebateNum { set; get; }
        /// <summary>
        /// 结算金额
        /// </summary>
        public long SettleAmount { set; get; }


        /// <summary>
        /// 结算类型: 1.系统结算 2.人工结算
        /// </summary>
        public byte SettleType { set; get; }

        /// <summary>
        /// 结算状态:0.未结算 1.已结算 2.已审核 3.已发放
        /// </summary>
        public byte SettleStatus { set; get; }

    }
}
